//获取时间区
 export let getYYYYMMDDHHMMSS=datestr=>{

    let d=new Date(datestr)
    return d.getFullYear() + '-' + mathzero(d.getMonth() + 1) + '-' + mathzero(d.getDate()) + ' ' +
    mathzero(d.getHours()) + ':' + mathzero(d.getMinutes()) + ':' + mathzero(d.getSeconds())
 }

 //补充0
 export let mathzero = num=>(num < 10 ? '0' + num : num)